package xyz.lilei23.framework.annotation;

import java.lang.annotation.*;

/**
 * @author jack
 * @date 31/07/2021 16:20
 * @version 1.0
 **/
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
@Documented
public @interface Transactional {

    Class<? extends Exception>[] rollbackFor() default {RuntimeException.class};

}
